import { Empty, Modal, ModalProps } from 'antd'


export interface MyDialogProps extends ModalProps {
  
}
export function MyDialog(props: MyDialogProps) {
  return (
    <Modal {...props}>
      {props.children ? (
        props.children
      ) : (
        <Empty image={Empty.PRESENTED_IMAGE_SIMPLE} />
      )}
    </Modal>
  )
}
